<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/8/25 0025
  Time: 下午 3:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>Title</title>
    <!-- 重点是绝对路径 -->
    <link rel="stylesheet" href="<%=request.getContextPath()%><spring:theme code='css'/>" type="text/css"/>
</head>
<body>



<h1>HOHO (看我的颜色)</h1>

<span style="float: left">
    <a href="?theme=default">default</a>
    |
    <a href="?theme=black">black</a>
    |
    <a href="?theme=blue">blue</a>
    |
    <a href="?theme=red">red</a>
</span>
<br/>
<!--这里类似locale -->
<h2><spring:theme code="welcome.message"></spring:theme></h2>


<form action="<%=request.getContextPath()%>/upload/test" method="post" enctype="multipart/form-data">
    upload file: <input type="file" name="xxx"><br/>
    <input type="submit">
</form>
</body>
</html>
